//
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

//自定义组件
class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Center(
        child: new Text(
      "Hello Flutter",
      textDirection: TextDirection.ltr,
      style: TextStyle(fontSize: 40.0, color: Colors.yellow),
    ));
  }
}
